
package com.be.beadmin.basicData.service;

import com.be.beadmin.basicData.entity.Workstation;
import com.be.beadmin.basicData.dto.output.WorkstationEx;
import com.be.beadmin.basicData.dto.input.WorkstationDto;
import com.be.beadmin.basicData.dto.input.WorkstationQueryCriteria;
import org.springframework.data.domain.Page;
import com.be.beadmin.common.entity.PageEntity;
import org.springframework.data.domain.Pageable;
import java.util.Map;
import java.util.List;
import java.io.IOException;
import javax.servlet.http.HttpServletResponse;

/**
* @description 服务接口
* @author chenwei
* @date 2023-02-25
**/
public interface WorkstationService {

    /**
    * 分页的查询接口
    * @param pageEntity
    * @return
    */
    Page<WorkstationEx> getWorkstationByPage(PageEntity pageEntity);

    /**
    * @param workstationDto
    */
    void addWorkstation(WorkstationDto workstationDto);

    /**
    * @param workstationDto
    */
    void updateWorkstation(WorkstationDto workstationDto);

    /**
    * @param id
    */
    void delWorkstation(String id);

    /**
    * 删除多个角色
    * @param ids
    */
    void delWorkstations (List<String> ids);

}